* {
    box-sizing: border-box;
}
body {
    background-color: #f5f5f5;
    font-family: "Microsoft YaHei", sans-serif;
    margin: 0;
    padding: 0;
}
.slider {
    width: 100%;
    max-width: 1200px;
    margin: 10px auto 0;
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    width: 100%;
    height: 512px;
    position: relative;
}

.slider-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slider-wrapper img.act {
    opacity: 1;
}

.slider-wrapper .toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.slider-wrapper .toggle button {
    width: 40px;
    height: 40px;
    appearance: none;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
}

.slider-wrapper .toggle button:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slider-footer {
    height: 80px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 12px 12px 0 12px;
    position: relative;
}

.slider-footer p {
    margin: 0;
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

.slider-indicator {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-indicator li {
    width: 8px;
    height: 8px;
    margin: 4px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.4;
    cursor: pointer;
}

.slider-indicator li.act {
    width: 12px;
    height: 12px;
    opacity: 1;
}

